﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;

namespace ClientApp
{
    public class Vacancy
    {
        public uint Id { get; set; }
        public string Title { get; set; }
        public Employer Employer { get; set; }
        public Activity Activity { get; set; }
        public DateTime CreationDate { get; set; }
        public string Location { get; set; }
        public uint Salary { get; set; }
        public SortedSet<uint> SkillIdsRequired { get; set; }

        public Vacancy(string title, Employer employer, Activity activity, string location, uint salary, SortedSet<uint> skillIdsRequired)
        {
            Title = title;
            Employer = employer;
            Activity = activity;
            Location = location;
            Salary = salary;
            SkillIdsRequired = skillIdsRequired;

            CreationDate = DateTime.Now;
        }

        public Vacancy()
        {

        }
    }
}
